package com.chixing.day06.work;

public  class Phone {
    private String name;
    private String id;
    private String model;
    private String memory;
    private String screenSize;
    private String color;

    public Phone() {
    }

    public Phone(String name, String id, String model, String memory, String screenSize, String color) {
        this.name = name;
        this.id = id;
        this.model = model;
        this.memory = memory;
        this.screenSize = screenSize;
        this.color = color;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    public String getScreenSize() {
        return screenSize;
    }

    public void setScreenSize(String screenSize) {
        this.screenSize = screenSize;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public void call() {
        System.out.println("打电话");
    }

    public void sendMessage() {
        System.out.println("发信息");
    }

    public void takePhoto() {
        System.out.println("拍照");
    }
}